import request from '@/utils/request'


// 获取行车计费规则列表
export function getRuleListAPI(params) {
    return request({
        url: '/parking/rule/list',
        params
    })
}

export function createRuleAPI(data) {
    return request({
        url: '/parking/rule',
        method: 'POST',
        data
    })
}